package top.tangyh.lamp.care.vo.save;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
@Schema(description = "IoSuspensionFrameDataInVo 出入量悬浮框搜索条件")
public class IoSuspensionFrameDataInVo {

    @Schema(description = "大于等于 开始时间,2022-04-06 12:00:00这种时间转时间戳后的值",requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "请输入开始时间")
    private Long startTime;

    @Schema(description = "小于等于  结束时间,2022-04-06 12:00:00这种时间转时间戳后的值",requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "请输入结束时间")
    private Long endTime;

    @Schema(description = "病人住院号",requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "请输入住院号")
    private String hospitalNumber;

    @Schema(description = "出入量配置code",requiredMode = Schema.RequiredMode.REQUIRED)
    private String itemCode;
}
